import Layout from '@/views/layout/Layout'

const activity = {
  path: '/supplierManage',
  component: Layout,
  name: 'supplierManage',
  alwaysShow: true,
  meta: { title: 'supplierManage', icon: 'supplierManage' },
  children: [
    // 精品供应商
    {
      path: 'goodSupplierManage',
      component: () =>
        import('@/views/pre-sale/supplierManage/goodSupplierManage/index'),
      name: 'goodSupplierManage',
      meta: { title: 'goodSupplierManage' }
    },
    // 精品供应商新增
    {
      path: 'addGoodSupplier',
      component: () =>
        import(
          '@/views/pre-sale/supplierManage/goodSupplierManage/addSupplier'
        ),
      name: 'addGoodSupplier',
      hidden: true,
      meta: { title: 'addGoodSupplier' }
    },
    // 精品供应商编辑
    {
      path: 'editGoodSupplier',
      component: () =>
        import(
          '@/views/pre-sale/supplierManage/goodSupplierManage/addSupplier'
        ),
      name: 'editGoodSupplier',
      hidden: true,
      meta: { title: 'editGoodSupplier' }
    },
    // 整车供应商
    {
      path: 'vehicleSupplierManage',
      component: () =>
        import('@/views/pre-sale/supplierManage/vehicleSupplierManage/index'),
      name: 'vehicleSupplierManage',
      meta: { title: 'vehicleSupplierManage' }
    },
    // 精品供应商新增
    {
      path: 'addVehicleSupplier',
      component: () =>
        import(
          '@/views/pre-sale/supplierManage/vehicleSupplierManage/addSupplier'
        ),
      name: 'addVehicleSupplier',
      hidden: true,
      meta: { title: 'addVehicleSupplier' }
    },
    // 精品供应商编辑
    {
      path: 'editVehicleSupplier',
      component: () =>
        import(
          '@/views/pre-sale/supplierManage/vehicleSupplierManage/addSupplier'
        ),
      name: 'editVehicleSupplier',
      hidden: true,
      meta: { title: 'editVehicleSupplier' }
    },
    {
      path: 'supplier', // 供应商管理
      component: () => import('@/views/after-sale/systemManage/supplier/index'),
      name: 'supplier',
      meta: { title: 'supplier' }
    },
    {
      path: 'addSupplier', // 供应商管理-新增
      component: () => import('@/views/after-sale/systemManage/supplier/addSupplier'),
      name: 'addSupplier',
      hidden: true,
      meta: { title: 'addSupplier' }
    },
    {
      path: 'editSupplier', // 供应商管理-编辑
      component: () => import('@/views/after-sale/systemManage/supplier/addSupplier'),
      name: 'editSupplier',
      hidden: true,
      meta: { title: 'editSupplier' }
    }
  ]
}

export default activity
